




/*
     FILE ARCHIVED ON 21:25:26 May 10, 2000 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 2:44:23 Dec 5, 2015.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
// Copyright 1999, 2000 Flycast Communications. All rights reserved.
// Patent Pending
// Version 3.6

FlycastLoaded		= true;
FlycastRandom		= 0;
FlycastClickTarget	= "_top";
//FlycastUnicastPage	= "interstitial";
FlycastUnicastPage	= "";

FlycastFoundMSIE	= navigator.userAgent.indexOf("MSIE") >= 0;
FlycastFoundMSIE2	= navigator.userAgent.indexOf("MSIE2") >= 0 || navigator.userAgent.indexOf("MSIE 2") >= 0;
FlycastFoundMSIE3	= navigator.userAgent.indexOf("MSIE 3") >= 0;
FlycastFoundNN		= navigator.userAgent.indexOf("Mozilla/") >= 0 && !FlycastFoundMSIE;
FlycastFoundNN2		= navigator.userAgent.indexOf("Mozilla/2.") >= 0 && !FlycastFoundMSIE;
FlycastFoundNN3		= navigator.userAgent.indexOf("Mozilla/3.") >= 0 && !FlycastFoundMSIE;
//FlycastFoundMac	= navigator.userAgent.indexOf("Macintosh") >= 0 || navigator.userAgent.indexOf("Mac_") >= 0;
//FlycastFoundMacAndIE3	= FlycastFoundMac && FlycastFoundMSIE3;

function FlycastSuppressError() {
	window.location.reload();
	return true;
}
if (FlycastFoundNN3) {
	window.onerror	= FlycastSuppressError;
}

function FlycastDeliverAd () {

	FlycastAdServer		= "/web/20000510212526/http://ad-adex3.flycast.com/server";

	if (FlycastNewAd) {
		FlycastNow		= new Date();
		FlycastRandom	= FlycastNow.getTime();
		FlycastRandom	= FlycastRandom % 10000000;
		if (!(FlycastFoundNN2 || FlycastFoundMSIE3))
			FlycastRandom	+= Math.floor(Math.random() * 100);
	}

	FlycastSiteInfo		= FlycastSite + "/" + FlycastPage + "/" + FlycastRandom;

	if (FlycastVersion >= 3.6)
	{
		if (FlycastKeyword.length > 0)
		{	//append keyword to query string
			FlycastSiteInfo	+= "?" + FlycastKeyword;
			if (FlycastEnableTargetWindow)
			{	//append fcd to indicate using child clickthrough window
				FlycastSiteInfo	+= "&fcd=';targetType=_blank;'";
				FlycastClickTarget	= "_blank";
			}
		}
		else if (FlycastEnableTargetWindow)
		{	//append fcd to indicate using child clickthrough window
			FlycastSiteInfo	+= "?fcd=';targetType=_blank;'";
			FlycastClickTarget	= "_blank";
		}
	}

	if (FlycastFoundMSIE2 || FlycastFoundNN3)
	{
		document.write("<A target=" + FlycastClickTarget + " HREF=\"" + FlycastAdServer + "/click/" +  FlycastSiteInfo + "\"><IMG WIDTH=" + FlycastWidth + " HEIGHT=" + FlycastHeight + " SRC=\"" + FlycastAdServer + "/ad/" +  FlycastSiteInfo + "\"></A>");
	}
	else if (FlycastFoundMSIE3)
	{
		document.write("<IFRAME SRC=\"" + FlycastAdServer + "/iframe/" +  FlycastSiteInfo + "\" scrolling='no' marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0 width=" + FlycastWidth + " height=" + FlycastHeight + "></IFRAME>");
	}
	else
	{
		document.write("<S" + "CRIPT SRC=\"" + FlycastAdServer + "/js/" +  FlycastSiteInfo + "\" LANGUAGE=JAVASCRIPT></SCRIPT>");
	}
	if (FlycastUnicastPage.length > 0)
	{
		FlycastUnicastSiteInfo	= FlycastSite + "/" + FlycastUnicastPage + "/" + FlycastRandom;
		document.write("<S" + "CRIPT SRC=\"" + FlycastAdServer + "/js/" +  FlycastUnicastSiteInfo + "\" LANGUAGE=JAVASCRIPT></SCRIPT>");
	}
}

if (FlycastPrintTag)
{
	if (FlycastVersion > 3.5)
	{
		FlycastDeliverAd();
	}
	else if (FlycastFoundNN3)
	{
		FlycastLoaded	= false;
		FlycastDeliverAd();
//	document.write("<A target=" + FlycastClickTarget + " HREF=\"" + FlycastAdServer + "/click/" +  FlycastSiteInfo + "\"><IMG WIDTH=" + FlycastWidth + " HEIGHT=" + FlycastHeight + " SRC=\"" + FlycastAdServer + "/ad/" +  FlycastSiteInfo + "\"></A>");
	}
}


